package pojo;

import java.sql.Date;

public class Photo {

  private Integer ID;
  private String name;
  private String url;
  private Date date;
  private Integer userID;
  public Integer getID() {
    return ID;
  }
  public void setID(Integer iD) {
    ID = iD;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public String getUrl() {
    return url;
  }
  public void setUrl(String url) {
    this.url = url;
  }
  public Date getDate() {
    return date;
  }
  public void setDate(Date date) {
    this.date = date;
  }
  public Integer getUserID() {
    return userID;
  }
  public void setUserID(Integer userID) {
    this.userID = userID;
  }
  @Override
  public String toString() {
    return "Photo [ID=" + ID + ", name=" + name + ", url=" + url + ", date="
        + date + ", userID=" + userID + "]";
  }
}
